package cn.com.api.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Delete;  
import org.apache.ibatis.annotations.Insert;  
import org.apache.ibatis.annotations.Select;  
import org.apache.ibatis.annotations.Update; 

import cn.com.api.entity.ApiT_user_admin;
import cn.com.api.mapper.base.T_user_adminMapperBase;

//DAO
public interface ApiT_user_adminMapper extends T_user_adminMapperBase {

	/**
	 * 根据不同条件查询管理员
	 * @param conditions
	 * @return
	 */
	List<ApiT_user_admin> getUserAdmins(ApiT_user_admin conditions);
	
	/**
	 * 得到某个站的站长管理员
	 * @param ciytId
	 * @return
	 */
	ApiT_user_admin getStationRoleAdmin(@Param("city_id") int ciytId);
}


